package cn.net.ecode.api.entity;

import java.util.List;

public class Paging<T>  {

	private int pageNumber;
	private int pageSize;
	private long totalRow;
	private List<T> list;
	
	public int getPageNumber() {
		return pageNumber;
	}
	public void setPageNumber(int pageNumber) {
		this.pageNumber = pageNumber;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public long getTotalRow() {
		return totalRow;
	}
	public void setTotalRow(long totalRow) {
		this.totalRow = totalRow;
	}
	public List<T> getList() {
		return list;
	}
	public Paging<T> setList(List<T> list) {
		this.list = list;
		return this;
	}
}
